﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Yeetop.PayHub.EToPay
{
    /// <summary>
    /// 壹支付交易信息
    /// </summary>
    public class EToPayTradeInfo : ITradeInfo
    {
        public PayPlatformType PayPlatform
        {
            get { return PayPlatformType.EToPay; }
        }
        /// <summary>
        /// 接口名称
        /// </summary>
        public string p01_service { get; set; }

        /// <summary>
        /// 商户订单流水号
        /// </summary>
        public string p02_out_ordercode { get; set; }

        /// <summary>
        /// 支付金额
        /// </summary>
        public string p03_payamount { get; set; }

        /// <summary>
        /// 商户网站身份ID
        /// </summary>
        public string p04_sitecode { get; set; }

        /// <summary>
        /// 产品名称
        /// </summary>
        public string p05_subject { get; set; }

        /// <summary>
        /// 产品描述
        /// </summary>
        public string p06_body { get; set; }

        /// <summary>
        /// 产品单价
        /// </summary>
        public string p07_price { get; set; }

        /// <summary>
        /// 购买数量
        /// </summary>
        public string p08_quantity { get; set; }

        /// <summary>
        /// 回调通知地址，壹支付平台在用户支付后通知商户支付成功或失败的情况的url
        /// </summary>
        public string p09_notify_url { get; set; }

        /// <summary>
        /// 备注，商户网站传递过来的附加信息，将原样返回
        /// </summary>
        public string p10_note { get; set; }
    }
}
